libxl: events: Provide libxl__xswait_*
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 5 Dec 2013 18:49:12 +0000 (18:49 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 17 Mar 2014 15:53:59 +0000 (15:53 +0000)
commiteeb157e96dc64a2ded81172d4ce3a279c76ab745
tree75f5c0f190ee61b31b60a600be800ea3f2d0efb4
parent6cad324ebb0e84783ddc2af1e5ecacf9f72641ea
libxl: events: Provide libxl__xswait_*

This is an ao utility for for conveniently doing a timed wait on
xenstore.  It handles setting up and cancelling the timeout, and also
conveniently reads the key for you.

No callers yet in this patch.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
v2: Fix doc comments to refer to correct rc values
tools/libxl/libxl_aoutils.c
tools/libxl/libxl_internal.h